<?php echo $left ?>
<script>
$( document ).ready(function() {
	$.ajaxSetup({
		cache: false
	});
	$( '.sidebar' ).simpleSidebar({
		settings: {
			opener: '#open-sb',
			wrapper: '.wrapper',
			animation: {
				duration:0,
				easing: 'easeOutQuint'
			}
		},
		sidebar: {
			align: 'left',
			width: 214,
			closingLinks: 'a',
		}
	});
});
</script>

<div class="clear"></div>
	<div  class="w640">
      <div class="yd3 pt50"><span class="ydtxt"></span>平台公益公告</div>
      
      				<div class="person1">
                    	<table cellpadding="0" cellspacing="0" style='width:100%;'>
                        	<tr>
                            	<th width="25%">标题</th>
                                <th width="25%">摘要</th>
                                <th width="25%">时间</th>
                                <th width="25%">操作</th>
                            </tr>
                            <?php 
                            foreach ($result as $rs){
                            ?>
                            <tr>
                            	<td><a href="articles/index?id=<?php echo $rs['id'];?>"><?php echo $rs['title'];?></a></td>
                                <td><?php echo $rs['content'];?></td>
                                <td><?php echo date("Y-m-d H:i:s",$rs['create_time']);?></td>
                                <td><a href="mobile/articles/index?id=<?php echo $rs['id'];?>">查看</a></td>
                            </tr>
                            <?php }?>
                        </table>
                    </div>
      
	</div>

<?php echo $foot; ?>

<script type="text/javascript">
var flage = true
$(".person1 table tr .xuanze").click(
	function(){
		if(flage == true){
		$(".menu").css({display:"block"})
		flage = false
		}else{
			$(".menu").css({display:"none"})
			flage = true
			}
		})
var sile = true
$(".person1 table tr td .dakuan").click(
	function(){
		if(sile == true){
		$(".tishi1").css({display:"block"})
		sile = false
		}else{
			$(".tishi1").css({display:"none"})
			sile = true
			}
})

$(".tishi .btn input").click(
	function(){
		$(".tishi").css({display:"none"})
		})
</script>